public class Move implements Cloneable {
    // Initializes a Move.
    public Move(int sourceID, int destID, int numShips) {
	this.sourceID = sourceID;
	this.destID = destID;
	this.numShips = numShips;
    }

    // Accessors and simple modification functions. These should be mostly
    // self-explanatory.
    public int SourceID() {
	return sourceID;
    }

    public int DestID() {
	return destID;
    }

    public int NumShips() {
	return numShips;
    }
    public void NumShips(int newNumShips) {
	this.numShips = newNumShips;
    }


    private int sourceID;
    private int destID;
    private int numShips;

    private Move (Move _m) {
	sourceID = _m.sourceID;
	destID = _m.destID;
	numShips = _m.numShips;
    }

    @Override
    public Object clone() {
	return new Move(this);
    }
}
